export const formList = [
    {
        label: '工单号码',
        prop: 'zllbh',
        placeholder: '工单号码',
        md: 7,
        sm: 7,
    },
    {
        label: '元件号码',
        prop: 'spuNo',
        placeholder: '请输入元件号码',
    },
    {
        label: '库别',
        prop: 'locate',
    },
    {
        label: '倉庫分類',
        prop: 'stockType',
    },

    {
        label: '单据状态',
        prop: 'detailSt',
        placeholder: '可选状态',
        formType: 'select',
        md: 5,
        sm: 5,
        options: [
            { dictLabel: '初始', dictValue: '0' },
            { dictLabel: '执行中', dictValue: '1' },
            { dictLabel: '出庫完成', dictValue: '2' },
        ]
    },
    {
        type: 'btn',
        md: 6,
        sm: 6
    }
]
export const tableColumn = [
    {
        prop: 'detailId',
        label: 'id',
        sortable: true
    },
    {
        prop: 'reelId',
        label: 'reelId',
    },
    {
        prop: 'zllbh',
        label: '工单号码',
        minWidth: '130'
    },
    {
        prop: 'locate',
        label: '库别',
        minWidth: '110'
    },
    {
        prop: 'stockType',
        label: '倉庫分類',
        minWidth: '110'
    },
    {
        prop: 'spuNo',
        label: '元件号码',
        minWidth: '130'
    },
    // {
    //     prop: 'spuName',
    //     label: '型材名称',
    //     minWidth: '130'
    // },
    // {
    //     prop: 'spuSize',
    //     label: '尺寸',
    // },
    {
        prop: 'planQty',
        label: '计划量',
    },

    {
        prop: 'bindQty',
        label: '配货量',
    },
    {
        prop: 'actlQty',
        label: '实发量',
    },
    {
        prop: 'stockQty',
        label: '库存可用量',
        width: '130'
    },
    {
        prop: 'lackQty',
        label: '缺货量',
        type: 'lackQty'
    },
    {
        prop: 'detailSt',
        label: '单据状态',
        type: 'detailStatus2'
    },
    {
        prop: 'isUg',
        label: '是否紧急',
        type: 'isUg'
    },
    {
        prop: 'comments',
        label: '备注',
    },
    {
        prop: 'creatorName',
        label: '创建用户',
    },
    {
        prop: 'createDate',
        label: '创建日期',
        sortable: true,
        minWidth: '155'
    },
    {
        prop: 'updaterName',
        label: '更新用户',
    },
    {
        prop: 'updateDate',
        label: '更新日期',
        minWidth: '155',
        sortable: true
    },
    // {
    //     type: 'handle',
    //     handleType: 'handle-3',
    //     width: '150',
    //     fixed: 'right',
    //     id: 'spuNo',
    //     prop: 'handle',
    //     label: '操作'
    // },
]